import { IMyPage } from '@/model/form/common/IMyPage'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IRequestVO from '@/model/vo/request/IRequestVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 查看登录记录
export default function userCenterLoginRecordApi(form: IMyPage) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IRequestVO>>>,
    IMyPage
  >('/userCenter/loginRecord', form)
}
